import {createRouter, createWebHashHistory} from 'vue-router'

import HelloWorld from '../components/HelloWorld.vue'

const routes = [{
    name: 'home',
    path: '/',
    component: HelloWorld
}, {
    name: 'student',
    path: '/student',
    component: () => import('@/views/student/QueryList.vue')
}, {
    name: 'teacher',
    path: '/teacher',
    component: () => import('@/views/teacher/QueryList.vue')
}, {
    name: 'classInfo',
    path: '/classInfo',
    component: () => import('@/views/classInfo/QueryList.vue')
}, {
    name: 'depart',
    path: '/depart',
    component: () => import('@/views/department/QueryList.vue')
},];
const router = createRouter({
    history: createWebHashHistory(),
    routes
});

export default router